import random
def add():
    for i in range(50):
        a = random.randint(1, 100)
        b = random.randint(1, 100)
        print(f"{i+1}: {a} + {b} = {a+b}")
def des():
    for i in range(50):
        a = random.randint(1, 100)
        b = random.randint(1, 100)
        print(f"{i+1}: {a} - {b} = {a-b}")
def x():
    c=random.randint(1,100)
    print(c)
x()
add()
des()
